<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">整数位数</label>

    <div class="col-sm-4">
        <input type="text" name="set[num_integer]" class="form-control" value="4"/>
    </div>
    <label class="col-sm-2 control-label Validform_label">小数位数</label>

    <div class="col-sm-4">
        <input type="text" name="set[num_decimal]" class="form-control" value="2"
               placeholder="选择decimal字段类型时有效"/>
    </div>
</div>
<div class="form-group">
    <label class="col-sm-2 control-label Validform_label">字段类型</label>

    <div class="col-sm-4">
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="smallint"/> smallint
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="int" checked=""/> int
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="mediumint"/> mediumint
        </label>
        <label class="radio-inline i-checks">
            <input type="radio" name="set[field_type]" value="decimal"/> decimal
        </label>
    </div>
    <label class="col-sm-2 control-label Validform_label">默认值</label>

    <div class="col-sm-4">
        <input type="text" name="set[default]" class="form-control" value="0"/>
    </div>
</div>
<script>iCheck();</script>
